package com.xxwy.ddu.common.exception;

import org.springframework.http.HttpStatus;

/**
 * @author xxwy
 * on 2018/8/23 0023
 */
public class JsonParseException extends BaseException {

    public JsonParseException() {
    }

    public JsonParseException(String message) {
        super(message);
    }

    public JsonParseException(String message, Throwable cause) {
        super(message, cause);
    }

    public JsonParseException(Throwable cause) {
        super(cause);
    }

    @Override
    protected Integer getCode() {
        return HttpCode.INTERNAL_SERVER_ERROR;
    }
}
